package com.yu.waterstation.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yu.waterstation.modules.system.pojo.Role;
import org.apache.ibatis.annotations.Select;

/**
 *
 *
 * @date 2020-11-29 18:17:30
 */
public interface RoleMapper extends BaseMapper<Role> {

    @Select("select name from sys_role where id = #{param1}; ")
    String getRoleNameByRoleid(Integer roleId);
}
